
#读取文件

if __name__ == '__main__':
    with open("append_demo.txt",'r',encoding="utf-8") as f:
        # line=f.read()
        # print(line)
        #按行读，读出来的是个Tuple
        lines=f.readlines()
        #f.readline()
        print(type(lines))
        for l in lines:
            print(l)